<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
<!-- gettingstarted.qdoc -->
  <title>Getting Started with Qt | Qt 5.14</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td ><a href="index.html">Qt 5.14</a></td><td >Getting Started with Qt</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.14.2 Reference Documentation</td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#installing-qt">Installing Qt</a></li>
<li class="level2"><a href="#online-installation">Online Installation</a></li>
<li class="level2"><a href="#offline-installation">Offline Installation</a></li>
<li class="level2"><a href="#installation-process">Installation Process</a></li>
<li class="level2"><a href="#updating-or-removing-qt">Updating or Removing Qt</a></li>
<li class="level2"><a href="#platform-requirements">Platform Requirements</a></li>
<li class="level1"><a href="#create-your-first-applications">Create Your First Applications</a></li>
<li class="level1"><a href="#explore-qt">Explore Qt</a></li>
<li class="level2"><a href="#setting-up-projects">Setting Up Projects</a></li>
<li class="level2"><a href="#developing-with-qt-creator">Developing with Qt Creator</a></li>
<li class="level2"><a href="#reference-documentation">Reference Documentation</a></li>
<li class="level1"><a href="#qt-project-community">Qt Project Community</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Getting Started with Qt</h1>
<span class="subtitle"></span>
<!-- $$$gettingstarted.html-description -->
<div class="descr"> <a name="details"></a>
<a name="installing-qt"></a>
<h2 id="installing-qt">Installing Qt</h2>
<p>You can install the Qt Framework and tools by using an <a href="gettingstarted.html#online-installation">online</a> or <a href="gettingstarted.html#offline-installation">offline</a> installer, or by <a href="build-sources.html">building the source packages yourself</a>.</p>
<p>The installers allow you to download and install the following components:</p>
<ul>
<li>Qt libraries, prebuilt for a particular development platform (operating system and compiler)</li>
<li>Qt Creator integrated development environment (IDE)</li>
<li>Reference Documentation and examples</li>
<li>Qt in source code form (needed only if you want to build the framework and tools yourself)</li>
<li>Add-On components that are relevant for different platforms</li>
</ul>
<a name="online-installation"></a>
<h3 id="online-installation">Online Installation</h3>
<p>In the <i>online installer</i>, you can select commercial or open source versions of Qt, tools, and Add-On components to install. Using the online installer requires signing in to your <a href="https://account.qt.io/">Qt Account</a>. The installer retrieves the license attached to the account from a server and provides a list of available components corresponding to the license.</p>
<p>The online installer is available from the Qt <a href="http://qt.io/download">Downloads</a> page.</p>
<a name="offline-installation"></a>
<h3 id="offline-installation">Offline Installation</h3>
<p>An <i>offline installer</i> is a single package that contains all of Qt and Add-Ons relevant for a target platform. Users with a commercial license can either sign in with their Qt account or with their Qt license key during the installation process. The license key is available in the <a href="https://account.qt.io/">Qt Account</a> Web portal.</p>
<p>The offline installer is available <a href="https://www.qt.io/offline-installer">here</a>.</p>
<a name="installation-process"></a>
<h3 id="installation-process">Installation Process</h3>
<p>To run the installer, you need a Qt Account. You can use your Qt Account credentials to sign-in to all Qt services, including the forums and wiki. If you do not already have a Qt Account, you can create one during the installation process.</p>
<p>To complete the installation, select the components that you want to install and follow the instructions of the installation program.</p>
<p>The following YouTube video gives a complete walk-through of the installation process:</p>
<div class="video">
<span class="vspan"></span>
<iframe src="https://www.youtube.com/embed/I5jasWrsxT0" frameborder="0" allowfullscreen>
<a href="https://www.youtube.com/watch/?v=I5jasWrsxT0">
<img src="images/I5jasWrsxT0.jpg" title="Click to play in a browser" /></a>
</iframe></div>
<a name="updating-or-removing-qt"></a>
<h3 id="updating-or-removing-qt">Updating or Removing Qt</h3>
<p>Once Qt is installed, you can use the Maintenance Tool under <i>&lt;install_dir&gt;</i> to add components and to update or remove installed components.</p>
<a name="platform-requirements"></a>
<h3 id="platform-requirements">Platform Requirements</h3>
<p>Specific requirements and instructions for developing applications on different platforms are covered in the platform pages.</p>
<ul>
<li><a href="android.html">Android</a></li>
<li><a href="ios.html">iOS</a></li>
<li><a href="windows.html">Windows</a></li>
<li><a href="linux.html">Linux/X11</a></li>
<li><a href="macos.html">macOS</a></li>
<li><a href="winrt-support.html">Universal Windows Platform</a></li>
</ul>
<p>For more information, visit the <a href="supported-platforms.html">supported platforms</a> page.</p>
<a name="create-your-first-applications"></a>
<h2 id="create-your-first-applications">Create Your First Applications</h2>
<p>Learn the basics of Qt and Qt Quick development by following the two tutorials below that illustrate how to create simple applications and build and run them on target platforms:</p>
<ul>
<li><a href="../qtwidgets/qtwidgets-tutorials-notepad-example.html">Getting Started Programming with Qt Widgets</a></li>
<li><a href="qtdoc-tutorials-alarms-example.html">Getting Started Programming with Qt Quick</a></li>
</ul>
<p><a href="../qtwidgets/qtwidgets-index.html">Qt Widgets</a> provides a library of UI elements which allow you to create classic desktop-style user interfaces. <a href="../qtquick/qtquick-index.html">Qt Quick</a> is a library providing types and functionalities for building modern, fluid, animated UIs.</p>
<p>For a more thorough walkthrough of the different aspects of developing applications with Qt 5, see the <a href="https://qmlbook.github.io/">QML Book</a>. It focuses on Qt Quick, but also provides the information needed to use QML together with C++.</p>
<a name="explore-qt"></a>
<h2 id="explore-qt">Explore Qt</h2>
<p>We invite you to explore the rest of Qt. We prepared overviews which help you decide which APIs to use and our examples demonstrate how to use them.</p>
<p>To view a list of all Qt examples, visit the <a href="all-examples.html">List of Qt Examples</a> page.</p>
<a name="setting-up-projects"></a>
<h3 id="setting-up-projects">Setting Up Projects</h3>
<ul>
<li><a href="http://doc.qt.io/qtcreator/quick-projects.html">Qt Quick Projects</a></li>
<li><a href="http://doc.qt.io/qtcreator/creator-writing-program.html">Qt Widget Projects</a></li>
<li><a href="http://doc.qt.io/qtcreator/creator-configuring-projects.html">Configuring Projects</a></li>
</ul>
<a name="developing-with-qt-creator"></a>
<h3 id="developing-with-qt-creator">Developing with Qt Creator</h3>
<ul>
<li><a href="http://doc.qt.io/qtcreator/creator-building-targets.html">Building for Multiple Platforms</a></li>
<li><a href="http://doc.qt.io/qtcreator/creator-running-targets.html">Running on Multiple Platforms</a></li>
<li><a href="http://doc.qt.io/qtcreator/creator-deployment.html">Deploying to Devices</a></li>
<li><a href="http://doc.qt.io/qtcreator/creator-connecting-mobile.html">Connecting Devices</a></li>
</ul>
<ul>
<li><a href="http://doc.qt.io/qtcreator/creator-building-running.html">See more</a></li>
</ul>
<a name="reference-documentation"></a>
<h3 id="reference-documentation">Reference Documentation</h3>
<ul>
<li><a href="overviews-main.html">Qt Overviews</a> - list of topics about application development</li>
<li><a href="qtexamplesandtutorials.html">Examples and Tutorials</a> - code samples and tutorials</li>
<li><a href="reference-overview.html">Qt Reference Pages</a> - a listing of C++ and QML APIs</li>
</ul>
<a name="qt-project-community"></a>
<h2 id="qt-project-community">Qt Project Community</h2>
<p>Qt's vibrant and active community site, <a href="http://qt.io">http://qt.io</a> houses a wiki, a forum, and additional learning guides and presentations.</p>
</div>
<!-- @@@gettingstarted.html -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2020 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>
